package com.xinqi.modules.file.client;

import com.xinqi.common.base.constants.ServiceNameConstants;
import com.xinqi.common.base.response.R;
import com.xinqi.modules.file.factory.SliceImageFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 文档分类字典表客户端
 *
 * @author: gzy
 * @date: 2023/05/28
 */
@FeignClient(value = ServiceNameConstants.XQ_FILE_SERVICE, fallbackFactory = SliceImageFallbackFactory.class)
public interface SliceImageClient {

    /** 文档分类字典表-详情 */
    @GetMapping("/inner/slice/image")
    R<List<String>> addCourseWareQuestion(String ossUrl);

}
